﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.MyProject.Domain.基础设置
{
    /// <summary>
    /// 设备管理表
    /// </summary>
    public class Device
    {
        /// <summary>
        /// 主键编号
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int Device_Id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Device_Name { get; set; }

        /// <summary>
        /// 编码
        /// </summary>
        public long Device_Code { get; set; }

        /// <summary>
        /// 型号
        /// </summary>
        public string Device_Model { get; set; }

        /// <summary>
        /// SN
        /// </summary>
        public string Device_SN { get; set; }

        /// <summary>
        /// 品牌
        /// </summary>
        public string Device_Brand { get; set; }

        /// <summary>
        /// 设备状态   0禁用  1启用
        /// </summary>
        public int Bind_Status { get; set; } = 1;

        /// <summary>
        /// 删除标识符
        /// </summary>
        public bool IsDel { get; set; } = false;


    }

}
